const app = getApp()

Page({
  data: {
    accessToken: '', // 开放平台令牌
    deviceSerial: '', // 设备序列号
    channelNo: '1', // 通道号
	deviceName: '',
  },

  onLoad: function (query) {
	const { accessToken, deviceSerial,channelNo,deviceName } = query;
	this.setData({
      accessToken: accessToken,
      deviceSerial: deviceSerial,
      channelNo: channelNo,
      deviceName: deviceName
    });
	
	if(deviceName){
		wx.setNavigationBarTitle({
		  title: deviceName,
		}) 
	}
  },

  onReady: function() {
    console.log('多方音视频组件',this.multiPartCall);
  },

  onUnload: function(){

  },

})